import { request } from 'umi';

export async function getCurrentUser(params: any) {
  return request('/api/user/currentUser', {
    method: 'GET',
    params,
  });
}
export async function savePageView(params: any) {
  return request('/api/analyse/savePageView', {
    method: 'POST',
    data: params,
  });
}

